<!DOCTYPE html>
<link rel=author href="mailto:luke@warlow.dev">
<link rel=author href="mailto:masonf@chromium.org">
<link rel=help href="https://html.spec.whatwg.org/#attr-dialog-closedby">

<!-- This test passes if it does not crash. -->

<dialog id="dialog" open>Dialog</dialog>

<script>
window.onload = () => dialog.requestClose();
</script>
